Computationally eficient modeling of imagery using scaled, extracted principal components

ABSTRACT

A computationally efficient modeling system for imagery scales both the original image and corresponding principal component tiles in the same proportion to be able to extract scaled principal components. The system includes recovery of feature weights for the image model by extracting the weights from the reduced size principal component tiles. The use of the reduced size tiles to derive weights dramatically reduces computer overhead both in the generation of the files and in the generation of the weights, and is made possible by the fact that the weights from the scaled down tiles are nearly equal to the weights of the tiles associated with the full size image. The subject system thus reduces computation and the number of bits required to represent features by first scaling the image and then tiling the image in the same proportion. In one embodiment, the scaled down tiles are used as training exemplars used to generate the principal components.

CROSS REFERENCE TO RELATED APPLICATION

[0001] This application claims rights under U.S. Provisional Application Serial No. 60/353,476, filed Jan. 3/1, 2002.

FIELD OF INVENTION

[0002] This invention relates to image processing and more particularly to an efficient system for image modeling and compression.

BACKGROUND OF THE INVENTION

[0003] The extraction of principal components from images is well known, with one extraction technique using neural networks as described in U.S. Pat. No. 5,377,305. Principal components are those which have self-same characteristics or features from one section of an image to another. This self-same characteristic or feature is encoded in principal component tiles in which the image is first subdivided into rectilinear subsections or tiles. A transform is then applied to the tiles which results in a small number of principal component tiles. The dot product of the principal component tiles with the original image results in a set of weights which when transmitted with the principal component tile permits reconstruction of the image. Mathematically speaking the principal components are the basis of a matrix analysis where one is looking for orthogonal tiles ordered by energy.

[0004] Thus the original image is modeled through extraction of principal components. The modeling at least in one instance permits compression so that the transmission of the image can be accomplished on a reduced time scale.

[0005] By way of background, as to standard compression methods, first, there is the process of compaction. This is done for conventional applications by some suitable transformation which provides an initial compact representation. In the case of JPEG, for example, the discrete cosine transformation (DCT) provides compaction. Associated with each transformation is a basis. The bases may be of fixed scale as with the JPEG-DCT, or may vary in scale motivated by the prospect for very low bit rate transmission as with current wavelet techniques.

[0006] Up until recently, standard compression has not been thought suitable for principal component image modeling and compression, which can involve temporal and characteristics other than spatial characteristics. Standard compression methods such as JPEG or wavelet transforms focus only on the spatial characteristics of the image, with JPEG and wavelet transforms being described in U.S. Pat. Nos. 6,347,157; 6,343,155; 6,343,154; 6,229,926; 6,157,414; 6,249,614; 6,137,914; 6,292,591, and 6,298,162.

[0007] Standard image compression uses fixed bases. The results are good for standard imagery and are oriented to same. However, for more exotic imagery, e.g., hyperspectral imagery, there is a need for new modeling and compression techniques.

[0008] More specifically, in hyperspectral imagery the number of features used to characterized an image is multiplied. For instance, non-spatial features such as heat, hardness, texture, and color are often times used in image presentation. The fixed basis of JPEG and others cannot handle the expanded feature set associated with hyperspectral imagery. Nor can these techniques handle voxels which are used to encode numbers of additional features of an image. Transmission of voxel images is computationally intense and less computationally intense compression techniques are required for their transmission.

[0009] In the past, principal component analysis has been used to indicate what features or characteristics of an image are to be utilized in a compression process. Such characteristics can be spatial or temporal or indeed any of a wide variety of characteristics such as for instance color, heat, or other hyperspectral components. In order to achieve modeling or indeed compression, it is important to identify correlations in an image. How to do this in a computationally efficient manner and one which is universal across all platforms is a challenge.

[0010] By way of further background, there are currently two main compression techniques and both are dependent on fixed bases. One, the JPEG standard, is based on the DCT transform to provide compaction. The essence of this technique is based on two factors: the approximation of the Karhunen-Loeve (KL) transform by the DCT and the extent of the autocorrelation function which seems to optimize for most images to 8×8 tiles. Using these factors, the JPEG compression standard made a compromise decision omitting the use of scale. The initial DCT transform on 8×8 tiles provides compaction which is then further compressed using zigzag scanning followed by run length and Huffman coders. JPEG produces good images at moderate compression.

[0011] The other relevant technique is wavelet compression. Wavelet technology has challenged assumptions in the JPEG standard on several fronts. Most important, scale is implicit to wavelet techniques. Scale allows ordered extraction of fine and coarse features. Use of scale, from fine to coarse, means that subsequent decomposition will be on decimated image. As a result, wavelet decomposition which provides control over computation is limited by decimation. Each level has ¼ the points of the previous level so computation is about 1.33 N²k where k is the size of the wavelet filter and N is image size in one dimension. Second, wavelets are usually applied to images on a separable though fixed basis. Thus, wavelet decomposition is applied in the x and y dimensions separately. This seems to fit well with human visual perception which is oriented to horizontal and vertical detail. Two dimensional bases are implicit in this decomposition. Third, a particularly good scheme for quantizing wavelet coefficients, Zero Tree Encoding², has significantly advanced the state of the art in wavelet image compression. The combination of scale, compaction and quantization made wavelets the likely candidate for future generation JPEG compression standards.

SUMMARY OF THE INVENTION

[0012] As will be seen, in the subject invention a method is described which makes feasible a complete principal component analysis of an image (whether standard or hyperspectral). This is because the subject system includes a method which significantly reduces computation. Moreover, the features derived are image adaptive, unlike fixed basis methods, with the adaptability allowing the possibility of better representation, especially for non-standard imagery.

[0013] In one embodiment, the subject system allows extraction of principal components from any kind of image in a computationally efficient manner. The method is based on self-similarity in the same way the wavelet methods described above are based on self-similarity. However, in the subject invention the goal is to introduce scale not just for its own sake but also to reduce computation and the overhead of using data adaptive features. While there are methods for image compression and methods for principal component extraction, the combination of using principal component features to represent imagery while extracting them in a computationally efficient way is unique.

[0014] In the subject invention, a computationally efficient modeling system for imagery scales both the original image and corresponding principal component tiles in the same proportion to be able to extract scaled principal components. The system includes recovery of feature weights for the image model by extracting the weights from the reduced size principal component tiles. The use of the reduced size tiles to derive weights dramatically reduces computer overhead, and is made possible by the finding that the weights from the scaled down tiles are nearly equal to the weights of the tiles associated with the full size image. In short, not only are the scaled down images self similar, the scaled down tiles are self similar. This permits the scaled down tiles to be used to generate weights. Using scaled down tiles dramatically reduces computation and the number of bits required to represent features. First scaling the image and then tiling the image in the same proportion provides reduced size tiles which when dot multiplied by the original image produces the required weights. Image transmission involves transmitting only the principal component tiles and the weights which effects the compression. The computational savings using the scaled down tiles is both in generating the tiles and in generating the weights. In one embodiment, the scaled down tiles are used as training exemplars used to generate the principal components.

[0015] Departure from prior scaling techniques results in a system in which not only is the image scaled, so are the tiles. Since the tiles associated with a scaled down image are similar to tiles extracted from the full size image, the scaled tiles can be used to generate the weights for creating an image model. The subject invention rests on this finding that 1) for principal component extraction the full scale image may be scaled down and 2) the image can be decomposed into a number of smaller sized tiles. It is a finding of the subject invention that these tiles will in fact be similar to the larger tiles extracted from full image. In short, it is the finding of the subject invention that the smaller tiles will in fact be similar to the larger tiles extracted from the full size image. It is also the finding of the subject invention that principal component tile weights computed from the reduced size and full size images will be almost identical. This permits interpolation between the smaller and larger sized tiles so that the principal component features can be weighted with the extracted weights from the reduced sized tiles, along with the reduced sized tiles themselves being interpolated into full size tiles utilized to reconstruct the original image.

[0016] In summary, a computationally efficient modeling system for imagery scales both the original image and corresponding principal component tiles in the same proportion to be able to extract scaled principal components. The system includes recovery of feature weights for the image model by extracting the weights from the reduced size principal component tiles. The use of the reduced size tiles to derive weights dramatically reduces computer overhead both in the generation of the files and in the generation of the weights, and is made possible by the fact that the weights from the scaled down tiles are nearly equal to the weights of the tiles associated with the full size image. The subject system thus reduces computation and the number of bits required to represent features by first scaling the image and then tiling the image in the same proportion. In one embodiment, the scaled down tiles are used as training exemplars used to generate the principal components.

BRIEF DESCRIPTION OF THE DRAWINGS

[0017] These and other features of the subject invention will be better understood in connection with the Detailed Description in conjunction with the Drawings, of which:

[0018]FIG. 1 is a diagrammatic illustration of the modeling of an image utilizing principal component feature tiles, with reconstruction of the original image through the utilization of the transmission of the principal component feature tiles and the weights associated therewith;

[0019]FIG. 2 is a diagrammatic illustration of the modeling of an image utilizing a scaled original image, scaled principal component feature tiles, interpolation of the scaled principal component feature tiles to full sized principal component feature tiles and the utilization of the weights associated with the scaled principal component feature tiles in combination with the reconstructed full size principal component feature tiles to reconstruct an approximation of the original image;

[0020]FIG. 3 is a diagrammatic illustration of the refinement of the image associated with FIG. 2 in which a residual approximation is added to the rough approximation;

[0021]FIG. 4 is a reconstruction of an original image containing a model, Lena, in which the reconstructed image was derived from extracted principal component feature tiles scaled identically to the original image;

[0022]FIG. 5 is a diagrammatic representation of the extracted principal component tiles used for the reconstruction of FIG. 4;

[0023]FIG. 6 is a series of reconstructed images, the first of the images reconstructed from full scale extracted principal component tiles and the second image constructed from scaled down principal component tiles, with images and the features associated with the two sets of principal component tiles being quite similar, thus leading to the ability to utilize smaller scale principal component tiles to reduce computational load;

[0024]FIG. 7 is a rendering of the reconstructed original image utilizing scaled principal component feature tiles, indicating very little difference in this reconstruction from the reconstruction of FIG. 4;

[0025]FIG. 8 is a table showing rate distortion using scale which indicates compression at PSNR for extraction using scale; and,

[0026]FIG. 9 is a table showing the result of using scaled feature extraction, with computation for the scaled feature extraction being about ⅝ of the original scheme.

DETAILED DESCRIPTION

[0027] Referring to FIG. 1, modeling and compression of an original image 10 is illustrated in which after the subject process is performed an approximation 12 of the original image is generated. The original image is divided up into 1-M segments with each of the segments being reflected in a different tile 14, with the tiled being shown as stacked. These tiles are of the same scale as the original image.

[0028] In order to extract principal components relating to features of the image, a transform 16 is applied to tiles 14 which results in a reduced set of tiles 18 referred herein as principal component feature tiles. These tiles are utilized to characterize features in the original image with the transform being one of a number of transforms which extract principal components. As mentioned hereinbefore U.S. Pat. No. 5,377,305 incorporated herein by reference and assigned to the assignee hereof describes a neural network technique for deriving principal components.

[0029] The principal component feature tiles 18 are utilized in generating weights which are to be transmitted along with the principal component feature tiles to generate a rough approximation of the original image as illustrated at 12. As can be seen at 19, a principal component feature tile T₁ is dot multiplied by a segment S₁ from the original image to from a weight ω₁₁. This is done for all principal component feature tiles and for all image segments. Each segment may be approximated by the appropriate sum of the weighted principal component feature tiles. The image may be reconstructed from the appropriately positioned segment tile approximations, e.g., the weighted sum of the principal component feature tiles weighted by the weights for that segment. The image is then reconstructed using all of the segments.

[0030] In the generation of the weights the principal component feature tiles are multiplied with the segment of the original image to which they apply such that a dot product results. This dot product results in a weight for each of the segments of the original image. These weights, herein illustrated at 20 are utilized in combination with the principal component feature tiles to arrive at the approximation of the original image. The approximation of the original image is a reconstructed image utilizing only the weights and the principal component tiles, it being understood that the transmission of the weights and the principal component tiles involves a transmission of much less data than would be necessary in transmitting the original image. As such, tiling the image and deriving weights is one way to compress the image for transmission.

[0031] It will be appreciated that if for instance the original image was 512×512 in one embodiment the principal component feature tiles would be a stack of 16×16 tiles. Thus while there would be significant compaction in this compression process, easily a 20 to 1 reduction in transmitted data, the computational load for generating the tiles using of transform 16 and the generation of weights is excessive.

[0032] Referring to FIG. 2, assuming that one scales the original image so as to reduce it by half as illustrated at 10′, this results in scaled down tiles 14′ which also are one half the size of the original tiles associated with the system of FIG. 1. The scaled image, if it is half sized, would be a 256×256 image in which the scaled tiles would be an array of 8×8 tiles. It will be appreciated that the computation in number of bits required to represent the features of the image are cut by a factor of 4, assuming the scaled tiles were transformed as illustrated at 16′. The result is a set of scaled principal component feature tiles 18′ which are used to generate appropriate weights.

[0033] It is the finding of this invention that such scaled principal component feature tiles in fact result in appropriate weights such that the reconstruction can take place utilizing the weights generated and the scaled principal component feature tiles.

[0034] In order to reconstruct the full size approximation of the original image as shown at 12′, after generation of weights 20′, one optionally needs to interpolate the scaled principal component feature tiles to increase their scale to the original size through a simple interpolation scheme here illustrated at 26. This results in reconstructed full size principal component feature tiles 18 which are then used in the reconstruction of the approximation of the original image. Alternatively no interpolation may be necessary and the scaled tiles can be used in the reconstruction.

[0035] As will be seen, an original 512×512 image is scaled down to a 256×256 image which results in scaled extraction feature tiles going from 16×16 to 8×8.

[0036] It is a finding of the subject invention that the weights associated with the dot product of the scaled principal component feature tiles with a scaled image and the full size principal component feature tiles multiplied with the full scale image are nearly equal. The result is that one may train on a scaled image with scaled features and recover feature weights which constitute the image model. By utilizing scaled images and scaled feature tiles one can reduce the computation load by a factor of 4. This factor may be increased for multiple levels of decomposition.

[0037] Referring now to FIG. 3, one can reconstruct a rough approximation of the original image in the above manner. Thus a scaled down image 30 is utilized to generate scaled down principal component feature tiles 32 which are in turn utilized to obtain feature weights 34 that are transmitted at 36 along with the scaled feature tiles to obtain the aforementioned rough approximation, here illustrated at 38. Note as illustrated at 40 the scaled feature tiles are transmitted along with the associated weights shown at 42.

[0038] As illustrated by dotted line 50 the process can continue by subtracting the rough image 51 reconstructed from tiles from the original image here illustrated at 52 to obtain a residual image 54. One then scales down the residual image by changing the tile size to a smaller tile size as illustrated at 56, where again, one obtains weights as illustrated at 58 which are transmitted along with the smaller tiles to obtain a residual approximation 60. When the residual approximation is added to the rough approximation there is a reconstructed image 62 with a finer detail than possible with the rough approximation. For even further refinement, the process may be iteratively applied, with new residual approximations being added to the next previous reconstruction for even further fineness of detail.

[0039] Referring to FIG. 4, was is depicted is a reconstruction of a model, here Lena, using extracted principal component tiles as illustrated in FIG. 5.

[0040] Note that with respect to FIG. 3, since the residual and rough approximation or model images are orthogonal, the residual image may be further decomposed and additional features extracted. Furthermore, these features need not be at the same scale as the features extracted to create the original image model. That is, one may retile the residual image at a different scale and train on the resultant tile set. After training, each tile in the image will have a weight for each principal component feature at each scale. The weights yield a compressed model for the image. The extracted principal feature tiles as well as the coefficient weights for each feature for all image tiles must be transmitted to the receiver. The reconstruction of FIG. 4 uses five 8×8 and five 4×4 principal feature tiles. The result is at or near current state of the art compression: about 32 dB at 0.14 bpp. To this one adds another 12% for principal component feature tiles. Note that the principal component feature tiles are shown in FIG. 5.

[0041] In obtaining the result of FIG. 4 one avails oneself of a scanning method which benefits from residual correlation in the image. The Hilbert-scan is utilized for scanning the image, with the image result being delta coded. The Hilbert scan ensures that component weights in x and y dimensions will be scanned in close two-dimensional proximity. The correlations in these weights combined with delta coding contribute to an entropy reduction improving the potential rate. This, in effect, allows one to exploit local correlation in the image at the next higher scale. Other schemes for encoding could be used which may result in improved results.

[0042] Since the Hilbert scan is fractal in nature, the first 8×8 tile contains the first four 4×4 tiles, the second 8×8 tile contains the next four 4×4 tiles and so forth. This allows scaling without reconstituting the image while maintaining the Hilbert scanned order in all scales.

[0043] Although the results in FIG. 4 match the rate of the state of the art in PSNR vs rate, one has expended much more computation to achieve them.

[0044] In the subject invention it is the finding that one can use scale to limit the computation that is done.

[0045] How this is done is as follows: suppose one scales an image by averaging adjacent points. Then, for example, a 512×512 image could become a 256×256 image. Looking at the two images does not reveal much difference in the images in that they appear to be similar. The question then becomes would similarly scaled extraction of tiles yield similar principal component features. It is the finding of the subject invention that the answer to this question is yes. This is especially true for simple features where averaging and aliasing typically do not have a large effect.

[0046]FIG. 6 shows the scaled images and corresponding principal component feature tiles. Note the similarity in the extracted principal component feature tiles. However, one can go one step further. The tile coefficient weights will be nearly identical for the two decompositions. Therefore one can train on the quarter size image with quarter size tiles and derive principal component tiles which are similar to the full scale extraction which yield coefficient weights which are nearly identical to the full scale extraction.

[0047] The net result is that one can have reduced computation by a factor proportional to the square of the scaling. Moreover, one may reconstruct the full scale principal component feature tiles using interpolation although one only needs to send the scaled principal component feature tiles. Therefore, one can also reduce the overhead in transmitting the principal component feature tiles by a factor proportional to scaling squared. What this means, referring back to FIG. 2, is that it is not necessary in generating the approximation of the original image to use the reconstructed full size principal component feature tiles. The approximation of the original image 12′ may in fact be generated utilizing the scale principal component feature tiles 18′ thus reducing the overhead as described above.

[0048] It will be noted that if one has multiple levels of decomposition, the above savings will be increased, albeit with a minor loss in PSNR or rate this is because of the averaging of the image and the coarseness of the scaled tiles. However, this may not be noticeable.

[0049] In order to practice the subject invention one first scales the image to the appropriate level. Then one scales the image tiles. Then, one trains on the scaled image tiles and transmits the scaled principal component tiles and the coefficient weights to a receiver.

[0050] One then optionally interpolates the scaled principal component feature tiles and uses them with the weights to construct an image model.

[0051] Finally one repeats the process on the current image residual for all scales taking direct sum of image models to obtain the final model.

[0052] This process yields an image model of good fidelity requiring much less computation and fewer bits transmitted for the principal component tiles. The down side is some small loss in PSNR or, correspondingly, increase in rate for the same PSNR. However, can be seen in FIG. 7 there is hardly any difference between the scaled feature Lena reconstruction and the Lena reconstruction of FIG. 4 utilizing full size tiles.

[0053] As can be seen from FIG. 8, the table indicates compression and PSNR for extraction using scale, whereas as shown in FIG. 9, the table shows the result of using scaled feature extraction. Note that the PSNR and the rate are approximately equivalent.

[0054] As expected, computations for the scale feature extraction is about ⅝ of the original scheme, with the advantage improving dramatically as one adds more levels of processing.

[0055] Having now described a few embodiments of the invention, and some modifications and variations thereto, it should be apparent to those skilled in the art that the foregoing is merely illustrative and not limiting, having been presented by the way of example only. Numerous modifications and other embodiments are within the scope of one of ordinary skill in the art and are contemplated as falling within the scope of the invention as limited only by the appended claims and equivalents thereto. 

What is claimed is:
 1. A method for modeling an image comprising the steps of: scaling and tiling an image to obtain scaled features; interpolating the scaled features to obtain an image model; forming a residual image; and, analyzing the residual image at a different scale.
 2. A method for reducing the computation necessary in deriving a model of an image, comprising the steps of: scaling and tiling an image, with the tiles scaled in the same proportion as the scaling of the image; deriving weights associated with a preselected principal component of the image; and, constructing a model of the image from the derived weights.
 3. The method of claim 2, wherein the size of the tiles is reduced from those associated with the unscaled image, whereby the computational load is reduced in proportion to the reduced tile size due to the scaling of the tiles. 